Configuration Functions for Sound Channel Components
Sound channel components provide a number of functions that allow sequence grabber components to configure the component's sound channel. This section describes these sound channel configuration functions. The sequence grabber component uses these functions only with sound channels.The
SGSetChannelVolume
function allows the sequence grabber component to
control a channel's sound volume. The sequence grabber component uses theSGGetChannelVolume
function to determine a channel's volume.The
SGSetSoundInputDriver
specifies a channel's sound input device. The sequence grabber component can determine a channel's sound input device by calling theSGGetSoundInputDriver
function. If an application changes any attributes of the sound input device, the sequence grabber component notifies your sound component by calling theSGSoundInputDriverChanged
function.The sequence grabber component can control the amount of sound data your channel works with at one time by calling the
SGSetSoundRecordChunkSize
function. The sequence grabber component can determine this value by calling theSGGetSoundRecordChunkSize
function.The sequence grabber component controls the rate at which your sound channel samples the input data by calling the
SGSetSoundInputRate
function. The sequence grabber component can determine the sample rate by calling theSGGetSoundInputRate
function.The sequence grabber can control other sound input parameters by using your
SGSetSoundInputParameters
andSGGetSoundInputParameters
functions.
Subtopics
- SGSetChannelVolume
- SGGetChannelVolume
- SGSetSoundInputDriver
- SGGetSoundInputDriver
- SGSoundInputDriverChanged
- SGSetSoundRecordChunkSize
- SGGetSoundRecordChunkSize
- SGSetSoundInputRate
- SGGetSoundInputRate
- SGSetSoundInputParameters
- SGGetSoundInputParameters